<?php
namespace app\crm\model\contract;

use think\Model;

class DrawnUnder extends Model
{
    protected $name = 'crm_drawn_under';

    public function getTypeAttr($value)
    {
        $type = [0=>'其他普通票',1=>'增值税专用发票'];
        return $type[$value];
    }
    public function getStatusAttr($value)
    {
        $status = [0=>'待审核',1=>'审核中',2=>'审核通过',3=>'审核未通过'];
        return $status[$value];
    }
}